docs: Fix up syntax
authorMatthias Clasen <mclasen@redhat.com>
Sun, 23 May 2021 00:41:05 +0000 (20:41 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 23 May 2021 00:56:14 +0000 (20:56 -0400)
There's no [type_func@...[ syntax, it is all [func@...].

docs/reference/gtk/question_index.md
gtk/gtkcssprovider.c
gtk/gtkicontheme.c
gtk/gtkrecentmanager.c
gtk/gtksettings.c
gtk/gtkstylecontext.c
gtk/gtkstyleprovider.c

index c4c5f4e4c2c04f00f3af672775be5632448ad069..df053f46c2cd5e16ddf698465e3a2587cf8926c3 100644 (file)
@@ -380,7 +380,7 @@ the question you have, this list is a good place to start.
         }
 
     in a CSS file, loading it with [method@Gtk.CssProvider.load_from_file], and
-    adding the provider with [type_func@Gtk.StyleContext.add_provider_for_display].
+    adding the provider with [func@Gtk.StyleContext.add_provider_for_display].
     To associate this style information with your widget, set a style class
     on the widget using [method@Gtk.Widget.add_css_class]. The advantage
     of this approach is that users can then override the font you have chosen.
index c81132e6e8a7ee37f00cad6ccc8234564f3f46ef..0baa6f9b681dd24dc4cc55a5aa8c6ac0225575fa 100644 (file)
@@ -62,7 +62,7 @@
  * [method@Gtk.CssProvider.load_from_file] or
  * [method@Gtk.CssProvider.load_from_resource]
  * and adding the provider with [method@Gtk.StyleContext.add_provider] or
- * [type_func@Gtk.StyleContext.add_provider_for_display].
+ * [func@Gtk.StyleContext.add_provider_for_display].
 
  * In addition, certain files will be read when GTK is initialized.
  * First, the file `$XDG_CONFIG_HOME/gtk-4.0/gtk.css` is loaded if it
index ac43018cd63c5e6c42fef6a7f047c05b44242d24..c0b33c67610ada7b1b4ed2446a185132a05f0d52 100644 (file)
@@ -1642,7 +1642,7 @@ gtk_icon_theme_add_resource_path (GtkIconTheme *self,
  * overriding system configuration.
  *
  * This function cannot be called on the icon theme objects returned
- * from [type_func@Gtk.IconTheme.get_for_display].
+ * from [func@Gtk.IconTheme.get_for_display].
  */
 void
 gtk_icon_theme_set_theme_name (GtkIconTheme *self,
index 639e2d23e76251a86594411a8f3d46f3093d2d55..55343f7c6f350d984fa2d73c304615648f14bc39 100644 (file)
@@ -720,7 +720,7 @@ build_recent_items_list (GtkRecentManager *manager)
  * signal each time something inside the list changes.
  *
  * `GtkRecentManager` objects are expensive: be sure to create them
- * only when needed. You should use [type_func@Gtk.RecentManager.get_default]
+ * only when needed. You should use [func@Gtk.RecentManager.get_default]
  * instead.
  *
  * Returns: A newly created `GtkRecentManager` object
index 95da9e1be3160b074d763d3c5c6909673ac021f7..4ad2e66ac4e074fdf6d36801b1f5fe11d17b6807 100644 (file)
@@ -89,7 +89,7 @@
  * configuration facility.
  *
  * There is one `GtkSettings` instance per display. It can be obtained with
- * [type_func@GtkSettings.get_for_display], but in many cases, it is more
+ * [func@Gtk.Settings.get_for_display], but in many cases, it is more
  * convenient to use [method@Gtk.Widget.get_settings].
  */
 
@@ -1333,7 +1333,7 @@ gtk_settings_get_for_display (GdkDisplay *display)
  * Gets the `GtkSettings` object for the default display, creating
  * it if necessary.
  *
- * See [type_func@Gtk.Settings.get_for_display].
+ * See [func@Gtk.Settings.get_for_display].
  *
  * Returns: (nullable) (transfer none): a `GtkSettings` object. If there is
  *   no default display, then returns %NULL.
index fcf123b011e965fa9834b9b7f043147aaa88da16..4ded60230c83224f4c6c39e8736afd546dc4db9d 100644 (file)
@@ -56,7 +56,7 @@
  * queries information from all attached `GtkStyleProviders`. Style
  * providers can be either attached explicitly to the context through
  * [method@Gtk.StyleContext.add_provider], or to the display through
- * [type_func@Gtk.StyleContext.add_provider_for_display]. The resulting
+ * [func@Gtk.StyleContext.add_provider_for_display]. The resulting
  * style is a combination of all providers’ information in priority order.
  *
  * For GTK widgets, any `GtkStyleContext` returned by
@@ -354,11 +354,11 @@ gtk_style_context_new_for_node (GtkCssNode *node)
  * Note that a style provider added by this function only affects
  * the style of the widget to which @context belongs. If you want
  * to affect the style of all widgets, use
- * [type_func@Gtk.StyleContext.add_provider_for_display].
+ * [func@Gtk.StyleContext.add_provider_for_display].
  *
  * Note: If both priorities are the same, a `GtkStyleProvider`
  * added through this function takes precedence over another added
- * through [type_func@Gtk.StyleContext.add_provider_for_display].
+ * through [func@Gtk.StyleContext.add_provider_for_display].
  */
 void
 gtk_style_context_add_provider (GtkStyleContext  *context,
index 1b2b499257a927be5a64df11000785d0fbc679be..1c404ad368e5260fb7c4252aae990bf7058c48d4 100644 (file)
@@ -29,7 +29,7 @@
  * `GtkStyleContext`.
  *
  * See [method@Gtk.StyleContext.add_provider] and
- * [type_func@Gtk.StyleContext.add_provider_for_display] for
+ * [func@Gtk.StyleContext.add_provider_for_display] for
  * adding `GtkStyleProviders`.
  *
  * GTK uses the `GtkStyleProvider` implementation for CSS in